CF_Image_Resize Example


Upload image file to resize:
Exact width and height: W: H:
(Use % to set size based on percentage)
Maximum width and height: W: H:
(in pixels)
Image quality (0-100):
Resize only if original image is larger? Yes
No
Resulting image format: JPG
PNG
Note:
Another way to set proportional resize is to put 0 either in ToWidth/ToHeight or MaxWidth/MaxHeight.
Eg: ToWidth=0 ToHeight=100 will set the resulting image to 100px tall, and the width will be resized proportionally.
Eg: MaxWidth=300 ToHeight=0 will set the resulting image to maximum 300px wide, and the height will be resized proportionally.